package org.jeecg.modules.demo.houseOrder.service.impl;

import org.jeecg.modules.demo.houseOrder.entity.Expense;
import org.jeecg.modules.demo.houseOrder.mapper.ExpenseMapper;
import org.jeecg.modules.demo.houseOrder.service.IExpenseService;
import org.springframework.stereotype.Service;
import java.util.List;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

import javax.annotation.Resource;

/**
 * @Description: 费用分摊单
 * @Author: jeecg-boot
 * @Date:   2021-12-13
 * @Version: V1.0
 */
@Service
public class ExpenseServiceImpl extends ServiceImpl<ExpenseMapper, Expense> implements IExpenseService {
	
	@Resource
	private ExpenseMapper expenseMapper;
	
	@Override
	public List<Expense> selectByMainId(String mainId) {
		return expenseMapper.selectByMainId(mainId);
	}
}
